/*
 * City.java
 *
 * Created on March 2, 2007, 8:50 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package ge.info.domain;

import ge.ktapestry.propertyselections.IComboItem;

/**
 *
 * @author Administrator
 */
public class Country implements IComboItem, java.io.Serializable
{
    
    /** Creates a new instance of City */
    private Integer countryID;
    private String countryName;
    private String code;
    public Country()
    {
    }
    public boolean equals(Object o)
    {
        if (!(o instanceof Country))
        {
            return false;
        }
        return this.getCountryID().equals(((Country) o).getCountryID());
    }
    public String getUniqueID()
    {
        return String.valueOf(countryID);
    }

    public String getDisplayName()
    {
        return countryName;
    }

    public Integer getCountryID()
    {
        return countryID;
    }

    public void setCountryID(Integer countryID)
    {
        this.countryID = countryID;
    }

    public String getCountryName()
    {
        return countryName;
    }

    public void setCountryName(String countryName)
    {
        this.countryName = countryName;
    }

    /**
     * @return the code
     */
    public String getCode()
    {
        return code;
    }

    /**
     * @param code the code to set
     */
    public void setCode(String code)
    {
        this.code = code;
    }
    
}
